package com.xtianzhuang.www.dao;

import com.xtianzhuang.www.entity.TdRole;
import com.xtianzhuang.www.entity.TdRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TdRoleMapper {
    long countByExample(TdRoleExample example);

    int deleteByExample(TdRoleExample example);

    int deleteByPrimaryKey(Integer roleId);

    int insert(TdRole record);

    int insertSelective(TdRole record);

    List<TdRole> selectByExample(TdRoleExample example);

    TdRole selectByPrimaryKey(Integer roleId);

    int updateByExampleSelective(@Param("record") TdRole record, @Param("example") TdRoleExample example);

    int updateByExample(@Param("record") TdRole record, @Param("example") TdRoleExample example);

    int updateByPrimaryKeySelective(TdRole record);

    int updateByPrimaryKey(TdRole record);
}